package cn.group01.git.mapper;

import cn.group01.git.dto.AgentDTO;
import cn.group01.git.entity.Agent;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: 加瓦程序员小鹏
 * @Date: 2023/7/11
 * @Description:
 */

public interface AgentMapper {

    List<Agent> getPage(AgentDTO agentDTO);

    void addAgent(Agent agent);

    Agent getById(String agentId);

    void editAgent(Agent agent);

    void delete(@Param("ids") Integer[] ids);

    List<Agent> selectList();

    Agent getByAgentName(String agentName);


}
